package cn.yx.common.core.enums;

/**
 * <p>ContentType枚举类</p>
 *
 * @author Wgssmart
 */
public enum ContentTypeEnum {

    /**
     * content type
     */
    HTML("text/html;charset=UTF-8"),
    TEXT_PLAIN("text/plain;charset=UTF-8"),
    XML("text/xml;charset=UTF-8"),
    JSON("application/json;charset=UTF-8"),
    FORM_URLENCODED("application/x-www-form-urlencoded;charset=UTF-8"),
    OCTET_STREAM("application/octet-stream"),
    FORM_DATA("multipart/form-data"),
    PNG("image/png"),
    JPEG("image/jpeg");

    private final String value;

    ContentTypeEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

}